import React    from 'react';
import ReactDOM from 'react-dom';
import FileUpload   from  'react-fileupload';

var CommentBox = React.createClass({
    render: function() {
        let options={
        baseUrl:'/withdraw/batchOperateWithdraw',
        chooseAndUpload:false
    }
    return (
      <div className="commentBox">
        <FileUpload options={options}>
            {/*<button ref="chooseAndUpload">choose</button>*/}
            <button ref="chooseBtn">choose</button>
            <button ref="uploadBtn">upload</button>
        </FileUpload>
      </div>
    );
    }
});

ReactDOM.render(
    <CommentBox />,
    document.getElementById('app')
);
